package com.taobushi.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * 主数据源
 */
@Component
@ConfigurationProperties(prefix = "master.db")
@Data
public class MasterDataSourceConfig {
    private String url;
    private String username;
    private String password;
    private String driverClassName;
}